package com.kingdee.eas.custom.safety;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class SafeProblemFactory
{
    private SafeProblemFactory()
    {
    }
    public static com.kingdee.eas.custom.safety.ISafeProblem getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeProblem)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("E5C178C1") ,com.kingdee.eas.custom.safety.ISafeProblem.class);
    }
    
    public static com.kingdee.eas.custom.safety.ISafeProblem getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeProblem)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("E5C178C1") ,com.kingdee.eas.custom.safety.ISafeProblem.class, objectCtx);
    }
    public static com.kingdee.eas.custom.safety.ISafeProblem getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeProblem)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("E5C178C1"));
    }
    public static com.kingdee.eas.custom.safety.ISafeProblem getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeProblem)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("E5C178C1"));
    }
}